package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.CheckIn;
import br.edu.fanor.esfinge.services.CheckInServiceRemote;

@Stateless
public class CheckInServiceImpl implements CheckInServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public CheckIn inserir(CheckIn check_in) {
		em.persist(check_in);
		return check_in;
	}
	
	

}
